<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<HTML>
<HEAD>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<TITLE>Insert roles</TITLE>
  <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
  <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
  <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
  <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
  <script language="JavaScript" type="text/javascript" id="keyMap"></script>
  <script type="text/javascript">
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
  </script>
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">
var baseDirection="../../../../../web/";
</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">
function closeThisPage() {
	window.close();
	return true;
}

function submitThisPage(strCommand) {
	submitCommandForm(strCommand, false, null, null, "_top");
	return true;
}
</SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="xx();" id="paramMessage">
<FORM id="form" method="POST" action="InsertAcces.html" name="frmMain" target="frameOculto">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
  <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
  <INPUT type="hidden" name="inpadRoleId" value="" id="paramadRoleId"></INPUT> 
  <INPUT type="hidden" name="inpwindowId" value="" id="window"></INPUT>
  <INPUT type="hidden" name="inpTabId" value="" id="tab"></INPUT>
  <div class="Popup_ContentPane_CircleLogo">
    <div class="Popup_WindowLogo">
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
    </div>
  </div>

  <table cellspacing="0" cellpadding="0" width="100%">

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
          <tr class="Popup_NavBar_bg"><td></td>
            <td class="Popup_NavBar_separator_cell"></td>
            <td class="Popup_NavBar_bg_logo_left"></td>
            <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
            <td class="Popup_NavBar_bg_logo_right"></td>
            <td class="Popup_NavBar_Popup_title_cell"><span>Insert Access</span></td>
            <td class="Popup_NavBar_separator_cell"></td>
          </tr>
        </table>
      </td>
    </tr>

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
          <tr>
            <td class="Popup_SeparatorBar_bg"></td>
          </tr>
        </table>
      </td>
    </tr>

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
          <tr>
            <td class="Popup_InfoBar_Icon_cell"><IMG src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
            <td class="Popup_InfoBar_text_table">
              <table>
                <tr>
                  <td class="Popup_InfoBar_text" id="helpDiscard"> <div id="processHelp">&nbsp;</div></TD>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>

    <tr>
      <td>
        <div class="Popup_ContentPane_Client" style="overflow: auto;">

           <!-- MessageBox -->
                <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
  <TBODY>
  <tr class="MessageBox_TopMargin">
    <td class="MessageBox_LeftMargin"></td>
    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr>
    <td class="MessageBox_LeftMargin"></td>
    <td>

      <table cellpadding="0" cellspacing="0" style="width: 100%;">
        <TBODY>
        <tr>
          <td>
            <div class="MessageBox_TopLeft"></div>
            <div class="MessageBox_Left"></div>
          </td>
          <td class="MessageBox_bg">

            <table class="MessageBox_Top">
            <TBODY>
              <tr>
                <td>
                  <span>
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                    <TBODY>
                    <tr>
                      <td class="MessageBox_Icon_ContentCell">
                        <div class="MessageBox_Icon"></div>
                      </td>
                      <td style="vertical-align: top;" id="messageBoxIDContent">
                        <span>
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
                            xxInfo: AccessTableWithNoView
                          </div>
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
                            xxThe current information is empty.
                          </div>
                          <div class="MessageBox_TextSeparator"></div>
                        </span>
                      </td>
                    </tr>
                    </TBODY>
                  </table>
                  </span>
                </td>
              </tr>
              </TBODY>
            </table>

          </td>
          <td class="MessageBox_RightTrans">
            <div class="MessageBox_TopRight"></div>
            <div class="MessageBox_Right"></div>
          </td>
        </tr>
        <tr>
          <td rowspan="2" class="MessageBox_BottomLeft">
          </td>
          <td class="MessageBox_BottomTrans MessageBox_bg">
          </td>
          <td rowspan="2" class="MessageBox_BottomRight">
          </td>
        </tr>
        <tr>
          <td class="MessageBox_Bottom">
          </td>
        </tr>
        </TBODY>
      </table>

    </td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr class="MessageBox_BottomMargin">
    <td class="MessageBox_LeftMargin"></td>
    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  </TBODY>
</table>
    <!-- MessageBox END -->

          <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">

            <tr>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
              <td class="TableEdition_OneCell_width"></td>
            </tr>

            <tr>
              <td class="TitleCell">
                <span class="LabelText" id="Delete_lbl">Module</span>
              <td colspan="2" class="Combo_ContentCell">
                <SELECT name="inpModules" class="Combo Combo_TwoCells_width"><DIV id="reportModules_S"></DIV>
                </SELECT>
              </td>
              <td class="TitleCell"></td>
            </tr>

            <tr>
              <td class="TitleCell">
                <span class="LabelText">Access To</span>
              <td colspan="2" class="Combo_ContentCell">
                <SELECT name="inpType" class="Combo Combo_TwoCells_width">
                  <OPTION value=""> <SPAN>All</SPAN></OPTION>
                  <OPTION value="W"> <SPAN>Window</SPAN></OPTION>
                  <OPTION value="P"> <SPAN>Process</SPAN></OPTION>
                  <OPTION value="R"> <SPAN>Report</SPAN></OPTION>
                  <OPTION value="X"> <SPAN>Form</SPAN></OPTION>
                  <OPTION value="F"> <SPAN>WorkFlow</SPAN></OPTION>
                  <OPTION value="T"> <SPAN>Task</SPAN></OPTION>
                </SELECT>
              </td>
              <td class="TitleCell"></td>
            </tr>

            <tr>
              <td></td>
              <td class="Button_RightAlign_ContentCell">
                <div>
                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Accept'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitThisPage('GENERATE');return false;">
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                    <tr>
                      <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
                      <td class="Button_text Button_width">OK</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                  </a>
                </div>
              </td>
              <td class="Button_LeftAlign_ContentCell">
                <div>
                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Cancel'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="closeThisPage();return false;">
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                    <tr>
                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
                      <td class="Button_text Button_width">Cancel</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                  </a>
              </td>
              <td></td>
            </tr>

        </table>

  <!--TABLE width="100%" cellspacing="0" cellpadding="0" border="1" >
    <TR> 
      <TD  id="processDescription">&nbsp;</TD>
    </TR>
    <TR></TR>
    <TR> 
      <TD id="helpDiscard" > <div  id="processHelp">&nbsp;</div></TD>
    </TR>
  </TABLE>
  <BR></BR>
  <BR></BR>
  <TABLE width="50%" cellspacing="0" cellpadding="0" border="0">
    <TR> 
      <TD  width="20%"> <SPAN >Module</SPAN></TD>
      <TD width="30%" > <SELECT name="inpModules"><DIV id="reportModules_S"></DIV>
        </SELECT></TD>
    </TR>
    <TR> 
      <TD  width="20%"> <SPAN >Access to</SPAN></TD>
      <TD width="30%" > <SELECT name="inpType">
          <OPTION value=""> <SPAN>All</SPAN></OPTION>
          <OPTION value="W"> <SPAN>Window</SPAN></OPTION>
          <OPTION value="P"> <SPAN>Process</SPAN></OPTION>
          <OPTION value="R"> <SPAN>Report</SPAN></OPTION>
          <OPTION value="X"> <SPAN>Form</SPAN></OPTION>
          <OPTION value="F"> <SPAN>WorkFlow</SPAN></OPTION>
          <OPTION value="T"> <SPAN>Task</SPAN></OPTION>
        </SELECT></TD>
    </TR>
  </TABLE>
  <BR></BR>
  <TABLE summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
    <TR> 
      <td>&nbsp;</td>
      <TD  width="30px"> <A href="#" onclick="closeThisPage();return false;" onmouseover="window.status='Cancel';return true;" onmouseout="window.status='';return true;" > 
        <img width="16" height="16" src="../../../../../web/images/Cancel.jpg"  alt="Cancel" title="Cancel" border="0" id="buttonCancel"></IMG></A></TD>
      <TD  width="30px"> <A href="#" onclick="submitThisPage('GENERATE');return false;" onmouseover="window.status='Accept';return true;" onmouseout="window.status='';return true;" > 
        <img width="16" height="16" src="../../../../../web/images/Ok.jpg"  alt="Accept" title="Accept" border="0" id="buttonOk"></IMG></A></TD>
      <td>&nbsp;</td>
    </TR>
  </TABLE-->
</FORM>
</BODY>
</HTML>
